package com.turing.post.organization.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 凭证调整单实体类
 * 
 * @author wzd
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "VOUCHERADJUSTORDER")
public class VoucherAdjustOrder implements Serializable {
	/**
	 * 凭证ID
	 */
	private BigInteger voucherAdjustOrderId;
	/**
	 * 发卡商No
	 */
	private String issueCompanyNo;
	/**
	 * 机构号
	 */
	private String branchNo;
	/**
	 * 交易时间
	 */
	private Date tranTime;
	/**
	 * 交易类型
	 */
	private String tranType;
	/**
	 * 取消调整单ID
	 */
	private BigInteger cancelVoucherAdjustOrderid;
	/**
	 * 审核状态
	 */
	private String status;
	/**
	 * 操作员号
	 */
	private BigInteger operId;
	/**
	 * 审核人
	 */
	private BigInteger authOperId;
	/**
	 * 审核时间
	 */
	private Date authTime;
	/**
	 * 备注
	 */
	private String  remark;

	/**
	 * 等待审核
	 */
	public static final String Status_0 = "0";
	/**
	 * 审核通过
	 */
	public static final String Status_1 = "1";
	
	/**
	 * 丢失
	 */
	public static final String TranType_01 = "01";
	
	/**
	 * 丢失取消
	 */
	public static final String TranType_11 = "11";
	
	/**
	 * 报损
	 */
	public static final String TranType_02 = "02";
	
	/**
	 * 报损取消
	 */
	public static final String TranType_12 = "12";
	
	/**
	 * 盘盈
	 */
	public static final String TranType_03 = "03";
	
	/**
	 * 盘盈取消
	 */
	public static final String TranType_13 = "13";
	
	public VoucherAdjustOrder() {

	}
	@Id
	@Column(name = "voucherAdjustOrderId", nullable = false)
	public BigInteger getVoucherAdjustOrderId() {
		return voucherAdjustOrderId;
	}

	public void setVoucherAdjustOrderId(BigInteger voucherAdjustOrderId) {
		this.voucherAdjustOrderId = voucherAdjustOrderId;
	}
	@Column(name = "issueCompanyNo", nullable = false)
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}
	@Column(name = "branchNo", nullable = false)
	public String getBranchNo() {
		return branchNo;
	}

	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo;
	}
	@Column(name = "tranTime", nullable = false)
	public Date getTranTime() {
		return tranTime;
	}

	public void setTranTime(Date tranTime) {
		this.tranTime = tranTime;
	}
	@Column(name = "tranType", nullable = false)
	public String getTranType() {
		return tranType;
	}

	public void setTranType(String tranType) {
		this.tranType = tranType;
	}
	@Column(name = "CANCELVOUCHERADJUSTORDERID")
	public BigInteger getCancelVoucherAdjustOrderId() {
		return cancelVoucherAdjustOrderid;
	}

	public void setCancelVoucherAdjustOrderId(BigInteger cancelVoucherAdjustOrderid) {
		this.cancelVoucherAdjustOrderid = cancelVoucherAdjustOrderid;
	}
	@Column(name = "status", nullable = false)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name = "operId", nullable = false)
	public BigInteger getOperId() {
		return operId;
	}

	public void setOperId(BigInteger operId) {
		this.operId = operId;
	}
	@Column(name = "authOperId")
	public BigInteger getAuthOperId() {
		return authOperId;
	}

	public void setAuthOperId(BigInteger authOperId) {
		this.authOperId = authOperId;
	}
	@Column(name = "authTime")
	public Date getAuthTime() {
		return authTime;
	}

	public void setAuthTime(Date authTime) {
		this.authTime = authTime;
	}
	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
		
}